package com.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("商品、产品、直接出库查询参数DTO")
public class OutZhiJieDTO {
    @ApiModelProperty(value = "起始日期", example = "2024-01-01")
    private String startTime;

    @ApiModelProperty(value = "结束日期", example = "2024-01-31")
    private String endTime;

    @ApiModelProperty(value = "类型（2=产品出库，3=商品出库，4=直接出库）", required = true, example = "4")
    private Integer type;

    @ApiModelProperty(value = "任务编号")
    private String id;

    @ApiModelProperty(value = "完成状态（1=未完成，2=部分完成，3=已完成）", example = "1")
    private Integer status;

    @ApiModelProperty(value = "出库类型", example = "1")
    private Integer chukuType;

    @ApiModelProperty(value = "出库品类（1产品，2商品）")
    private String category;  // 注意：接口定义中参数类型为String，此处保持一致

    @ApiModelProperty(value = "温区", example = "冷藏区")
    private String warmarea;

    @ApiModelProperty(value = "出库物品", example = "矿泉水")
    private String tiem;  // 注意：参数名可能为"item"的笔误，建议确认后修改

    @ApiModelProperty(value = "出库原因")
    private String reason;

    @ApiModelProperty(value = "页码", example = "1")
    private Integer page;

    @ApiModelProperty(value = "单页显示条数", example = "5")
    private Integer pageSize;
}
